package com.example.http.sczw.service;

import javax.servlet.http.HttpServletRequest;
import java.io.IOException;
import java.net.URISyntaxException;

/**
 * @author zhouxl
 * @DATE 2021/8/31
 * @descriptoin
 */
public interface ForwardSczwRequestProxyService {

    String SCZW_GETUSERINFOR_URL = "http://www.sczwfw.gov.cn/juspace/interface/auth/curMemberInner";

    String NGINX_PROXY_URL = "http://47.108.141.17:8080/api/sczw/proxy/forwardSczwLoginInfo";

    String COOKIE_INFO = "Idea-a8cda25f=70b37b5d-b7a8-4d88-a461-50be2985fe1a; Hm_lvt_5bb2c08a2cfe14bc0965464e0e27b05e=1629162985,1629352294; jhome_encryptKey=04d9a5feddf56c9669afbe0cabf73b503a44d87104d85bb5b0c5d31f4cfc59cc74187fd5647b422463cdd9088e8a73f8187ed0b9c8fe43d58f69d91ec0e7b1e403b319ab364c9635aaadb56fa4e869ff03319b247b23d55242e5d53ae48c9536ba3b6e7df4d86cc86743806476fdf0b59a2e7db36eaf9c87194b947dcb48efe377d1eeebb0; jhome_userType=user; tokenSNO=XSm2uHLTlG3J5OoFlDHiF1ugEOINcytcRrmwDnvjDA+hmIWHXhTs6JxKMeubqzzeSO2A3JBbIb1jZ8WTLqqd/MTqr17j23olrTiEy5oORu0=; jwtToken=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJzY3p3Zncub3JnIiwic3ViIjoiMTc3MTU3NjUyMTQiLCJhdWQiOiI0ODkyNDY5MjAiLCJpYXQiOjE2MzAzOTkyNjMsImV4cCI6MTYzMDQ4NTY2Mywic3NvX3R5cGUiOiJ1c2VyIiwic3NvX3NvY2lhbENyZWRpdENvZGUiOiIifQ.y_urS4iMo_SaCuOMTVfzDpspFgGK9vurm4Ru2QTd_Xg; JSESSIONID=0D92979F0F9FDDA186D6EDB1A4351DB5.sso-03; BIGipServer~Project_5a51a55120014a5e858a9d4b0e5ff268~Project_d42a7ebf-f094-4404-b4e7-ea85b5102870=rd2o00000000000000000000ffffc0a80130o80; topSession=bf299de2-4337-4431-9777-12ad28e07e67";

    String forwardSczwLoginInfo(HttpServletRequest request) throws IOException, URISyntaxException;

    String nginxProxySczwLoginInfo(HttpServletRequest request) throws URISyntaxException, IOException;
}
